<!-- BEGIN: SEARCH -->
<div id="mid">
	<div id="heading3">
		<img src="images/icon_01.png" />
		Tìm kiếm sản phẩm
	</div><!-- End heading3-->
	
    <div id="bg_box_menu">
		<div id="box_menu">
        	<div id="box_menu_main">
                <br />
                <form action="" method="post">
                    <table style="margin-left: 10px;">
                        <tr>
                            <td width="100px" height="50px" style="font-weight: bold;">Nhập từ khóa</td>
                            <td><input type="text" name="keyword" size="40" /></td>
                        </tr>
                        <tr>
                            <td width="100px" height="50px" style="font-weight: bold;">Tìm kiếm theo</td>
                            <td>
                                <select name="bySupplier">
                                <option value="0">--------------------- Theo hãng ---------------------</option>
                                {supplier}
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="100px" height="50px">&nbsp;</td>
                            <td>
                                <select name="byCost" >
                                    <option value="0">------------------- Theo mức giá -------------------</option>
                                    <option value="1">Dưới 10.000 VNĐ</option>
                                    <option value="2">Từ 10.000 - 100.000 VNĐ</option>
                                    <option value="3">Từ 100.000 - 300.000 VNĐ</option>
                                    <option value="4">Trên 300.000 VNĐ</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td><center><span class="batbuoc">{error}</span></center></td>
                        </tr>
                        <tr>
                            <td width="100px" height="30px">&nbsp;</td>
                            <td><center><input type="submit" name="submit" value="Tìm kiếm" /></center></td>
                        </tr>
                    </table>
                </form><br />
                <!-- BEGIN: TOTAL -->
                <div style="margin-left: 10px;">
                Có <span class="batbuoc">{total}</span> kết quả tìm được với từ khóa "<span class="batbuoc">{keyword}</span>"
                </div><br />
                <!-- END: TOTAL -->
                
				<div id="sp">
                    <!-- BEGIN: TABLES -->
					<div class="sp1">
						<div class="img">
							<a href="index.php?page=show&id={id1}"> <img src="files/{image}" width="139" height="116" alt="" /> </a>
                        </div><!--End img-->
                            
						<div class="name">
                        <a href="index.php?page=show&id={id2}">  
							<span class="sp"> {milkname} </span>
								<br />
								Giá bán : {cost} 000 VNĐ <br />
                        </a>
						</div><!--End name-->
                        
						<div class="luachon">
                        <input type="button" value="Đặt hàng" onclick="addtocart({id3})" />
                        </div> 
                    </div><!--End sp1-->
                    <!-- END: TABLES -->
                </div><!--End sp-->
            </div><!--End box menu_main-->
		</div><!--End box_menu-->
	</div><!--End bg_box_menu-->
</div><!-- End mid-->

<!-- END: SEARCH -->